runtime.mspan.nelems (field)

34 uses

	runtime (current package)
		heapdump.go#L491: 		for freeIndex := uintptr(0); freeIndex < s.nelems; freeIndex++ {
		malloc.go#L896: 		if result < s.nelems {
		malloc.go#L898: 			if freeidx%64 == 0 && freeidx != s.nelems {
		malloc.go#L923: 	if freeIndex == s.nelems {
		malloc.go#L925: 		if uintptr(s.allocCount) != s.nelems {
		malloc.go#L926: 			println("runtime: s.allocCount=", s.allocCount, "s.nelems=", s.nelems)
		malloc.go#L936: 	if freeIndex >= s.nelems {
		malloc.go#L942: 	if uintptr(s.allocCount) > s.nelems {
		malloc.go#L943: 		println("s.allocCount=", s.allocCount, "s.nelems=", s.nelems)
		mbitmap.go#L140: 	snelems := s.nelems
		mbitmap.go#L754: 	bytes := divRoundUp(s.nelems, 8)
		mcache.go#L151: 	if uintptr(s.allocCount) != s.nelems {
		mcache.go#L187: 	if uintptr(s.allocCount) == s.nelems {
		mcache.go#L287: 				dHeapLive -= int64(uintptr(s.nelems)-uintptr(s.allocCount)) * int64(s.elemsize)
		mcentral.go#L148: 				if freeIndex != s.nelems {
		mcentral.go#L176: 	n := int(s.nelems) - int(s.allocCount)
		mcentral.go#L177: 	if n == 0 || s.freeindex == s.nelems || uintptr(s.allocCount) == s.nelems {
		mcentral.go#L230: 		if int(s.nelems)-int(s.allocCount) > 0 {
		mgcsweep.go#L605: 		for i := uintptr(0); i < s.nelems; i++ {
		mgcsweep.go#L631: 	if s.freeindex < s.nelems {
		mgcsweep.go#L642: 		for i := obj/8 + 1; i < divRoundUp(s.nelems, 8); i++ {
		mgcsweep.go#L655: 		print("runtime: nelems=", s.nelems, " nalloc=", nalloc, " previous allocCount=", s.allocCount, " nfreed=", nfreed, "\n")
		mgcsweep.go#L669: 	s.gcmarkBits = newMarkBits(s.nelems)
		mgcsweep.go#L763: 			if uintptr(nalloc) == s.nelems {
		mgcsweep.go#L832: 	for i := uintptr(0); i < s.nelems; i++ {
		mheap.go#L439: 	nelems uintptr // number of object in the span.
		mheap.go#L1391: 		s.nelems = 0
		mheap.go#L1400: 			s.nelems = 1
		mheap.go#L1404: 			s.nelems = nbytes / s.elemsize
		mheap.go#L1412: 		s.gcmarkBits = newMarkBits(s.nelems)
		mheap.go#L1413: 		s.allocBits = newAllocBits(s.nelems)
		pinner.go#L268: 	return divRoundUp(s.nelems*2, 8)
		pinner.go#L275: 	return (*pinnerBits)(newMarkBits(s.nelems * 2))